package com.qijian.maindata.domain.query;

import com.baomidou.mybatisplus.annotation.TableName;
import com.qijian.common.utils.mybatis.WhereType;
import com.qijian.common.utils.mybatis.WhereTypeEnum;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Set;


/**
 * 绩效缓存对象 查询条件类
 *
 * @author qijian
 * @date 2024-08-27
 */

@Data
@ToString
@TableName("main_performance")
public class PerformanceQuery {

    @WhereType(filed = "id")
    private Long id;
    @WhereType(filed = "id", type = WhereTypeEnum.IN)
    private Set<Long> ids;
    @WhereType(filed = "data_type")
    private Integer dataType;
    @WhereType(filed = "name")
    private String name;
    @WhereType(filed = "user_id")
    private Long userId;
    @WhereType(filed = "ym")
    private String ym;
    @WhereType(filed = "project_id")
    private Long projectId;
    @WhereType(filed = "project_machine_no")
    private String projectMachineNo;
    @WhereType(filed = "project_no")
    private String projectNo;
    @WhereType(filed = "dept_id")
    private Long deptId;
    @WhereType(filed = "dept_name")
    private String deptName;
    @WhereType(filed = "dept_cost")
    private BigDecimal deptCost;
    @WhereType(filed = "total_price")
    private BigDecimal totalPrice;
    @WhereType(filed = "version")
    private String version;

    @WhereType(ignore = true)
    private String month;


}
